<div id='weekView' class='grid_12 alpha omega'>
	<?php $this->Html->script(array('weekView'), array('inline'=>false)) ?>
	<?php $this->Html->css('weekView', null, array('inline'=>false)) ?>

	<script type='text/javascript'>
		window.hours = <?php echo json_encode($hours, JSON_NUMERIC_CHECK)?>
	</script>

	<div class = "alpha grid_3">
		<?php if(isset($prev) && $prev) echo $this->Html->link('Previous Week', $prev );?>
	</div>
	<div id='weekTitle' class='grid_6'><h3>Week of: <?php echo $lower?> to <?php echo $upper?></h3></div>
	<div class = "grid_3 right omega">
		<?php if(isset($next) && $next) echo $this->Html->link('Next Week', $next );?>
	</div>

	<div id='weekGrid' class='grid_9 alpha'>
		<div class='dayTitle alpha prefix_2 grid_1'><strong>Sun</strong></div>
		<div class='dayTitle grid_1'><strong>Mon</strong></div>
		<div class='dayTitle grid_1'><strong>Tues</strong></div>
		<div class='dayTitle grid_1'><strong>Wed</strong></div>
		<div class='dayTitle grid_1'><strong>Thurs</strong></div>
		<div class='dayTitle grid_1'><strong>Fri</strong></div>
		<div class='dayTitle grid_1 omega'><strong>Sat</strong></div>
	</div>
	<div class='omega grid_3'>
		<div><select id='projSelect'><option selected>All Projects</option><select></div>
		<div id='recordInfoContainer'>
			<div class='right'><a class='close' href='#'>[X]</a></div>
			<div class='recordInfo'>
				<h2>Click a record on the left for more information
				<br/>&lt;----------------</h2>
			</div>
		</div>
	</div>

	<div class='recordInfo template'>
		<h2 class='clockIN_OUT'></h2>
		<p><strong>Project:</strong> <span class='project'></span></p>
		<p><strong>Date:</strong> <span class='date'></span></p>
		<p><strong>Created By:</strong> <span class='created'></span></p>
		<?php if(isset($editAction)): ?>
		<div class='right'><?php echo $this->Html->link(
			$editType,
			$editAction,
			array('class'=>'editButton')
		); ?></div>
		<?php endif ?>
	</div>
	<div class='grid_12 alpha omega'>
		<p><b>Total logged Hours for this week:</b> <?php echo $total;?></p>
	</div>
</div>


